
export enum Api {
  // ========================================================== module-商城管理


  // ========================================================== module-会员管理
  

  // ========================================================== 协议管理
  pageAgreement = "/system-service/agreement/page",
  getAgreement = "/system-service/agreement/get",
  saveAgreement = "/system-service/agreement/save",
  updateAgreement = "/system-service/agreement/update",
  deleteAgreement = "/system-service/agreement/delete",
  batchDeleteAgreement = "/system-service/agreement/batchDelete",

  // ========================================================== 文章管理
  pageArticle = "/system-service/article/pageArticle",
  getArticle = "/system-service/article/getArticle",
  saveArticle = "/system-service/article/saveArticle",
  updateArticle = "/system-service/article/updateArticle",
  deleteArticle = "/system-service/article/deleteArticle",
  batchDeleteArticle = "/system-service/article/batchDeleteArticle",
  listArticleGroup = "/system-service/articleGroup/listGroup",
  saveArticleGroup = "/system-service/articleGroup/saveGroup",
  updateArticleGroup = "/system-service/articleGroup/updateGroup",
  deleteArticleGroup = "/system-service/articleGroup/deleteGroup",
  batchDeleteArticleGroup = "/system-service/articleGroup/batchDeleteGroup",

  // ========================================================== 文件上传
  uploadUrl = '/infra-service/file/upload',

  // ========================================================== 用户管理
  pageUser = '/system-service/user/pageUser',
  userLogin = '/auth-service/oauth2/token', // 通过授权中心进行登录
  selectLoginTenant = '/system-service/tenantUser/selectLoginTenant',
  switchTenant = '/system-service/user/profile/switchTenant',
  phoneLogin = '/system-service/phoneLogin',
  Logout = '/auth-service/auth/logout',
  getUserInfo = '/system-service/user/profile/getUserInfo',
  registerApi = '/system-service/user/register', // 注册接口
  checkOnlyUser = '/system-service/user/checkOnlyUser', //校验用户接口
  validateCasLogin = '/system-service/cas/client/validateLogin', // SSO登录校验
  phoneVerify = '/system-service/user/phoneVerification', // 校验手机号
  passwordChange = '/system-service/user/passwordChange', // 修改密码
  userResetPassword = '/auth-service/localAuth/userResetPassword', // 用户自己重置修改密码
  thirdLogin = '/system-service/thirdLogin/getLoginUser', // 第三方登录
  getThirdCaptcha = '/system-service/thirdSms', // 第三方登录
  listTenant = '/system-service/user/profile/listTenant',
  listTenantTree = '/system-service/user/profile/listTenantTree',
  pageTenantUser = '/system-service/tenantUser/pageUser',  // 查询租户用户

  // ========================================================== 租户管理
  pageTenant = "/system-service/tenant/pageTenant",
  listAllTenant = "/system-service/tenant/listAll",
  saveTenant = "/system-service/tenant/save",
  updateTenant = "/system-service/tenant/update",
  getTenant = "/system-service/tenant/getTenant",
  listSubTenant = "/system-service/tenant/listSubTenant",
  getOwnerTenant = "/system-service/tenant/getOwnerTenant", // 获取拥有者租户
  updateOwnerTenant = "/system-service/tenant/updateOwnerTenant", // 更新拥有者租
  getTenantConfig = "/system-service/tenant/getConfig",
  deleteTenant = "/system-service/tenant/delete",
  batchDeleteTenant = "/system-service/tenant/deleteBatch",

  // ========================================================== 角色管理
  pageRole = '/system-service/role/page',
  saveRole = '/system-service/role/save',
  updateRole = '/system-service/role/update',
  deleteRole = '/system-service/role/delete',
  batchDeleteRole = '/system-service/role/deleteBatch',
  exportUserXls = '/system-service/role/exportXls',
  importRoleExcel = '/system-service/role/importExcel',
  isRoleExist = '/system-service/role/checkRoleCode',
  listDeptTreeForRole = '/system-service/dept/listDeptTreeForRole',
  listDeptInRole = '/system-service/dept/listDeptInRole',
  queryRolePermission = '/system-service/role/listRolePermission',
  saveRolePermission = '/system-service/role/addRolePermission',
  updateRoleDataScope = '/system-service/role/updateDataScope',
  queryRoleDataRule = '/system-service/role/listDataRule',
  saveRoleDataRule = '/system-service/role/saveDataRule',
  getParentDesignList = '/act/process/extActDesignFlowData/getDesFormFlows',
  getRoleDegisnList = '/joa/designform/designFormCommuse/getRoleDegisnList',
  saveRoleDesign = '/joa/designform/designFormCommuse/sysRoleDesignAdd',
  listRoleUser = '/system-service/tenantUser/listRoleUser',
  deleteRoleUser = '/system-service/role/deleteUser',
  batchDeleteRoleUser = '/system-service/role/deleteBatchUser',
  addRoleUser = '/system-service/role/addUser',
  listApiResource = '/system-service/role/listApiResource',
  saveApiResource = '/system-service/role/saveApiResource',

  // ========================================================== 统计相关
  queryStatistic = '/misc-service/statistic',

  // ========================================================== 授权管理

  // ========================================================== 字典管理
  listDictItem = '/infra-service/dictItem/listItem',
  getWxOpenIdByScan = '/infra-service/mpQrcode/getOpenIdByScan',
  
}